package cn.ljy.mes.dao.mapper;

import cn.ljy.authority.dao.BaseMapper;
import cn.ljy.mes.model.MesCarTechnology;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface MesCarTechnologyMapper extends BaseMapper<MesCarTechnology> {
    @Select("select count(1) from mes_car_technology where code=#{code} and id!=#{id}")
    int countByCodeAndNotId(String code,String id);
}
